package org.example.DesignPatterns.Factory.OperationFactory;

/**
 * @description:
 * @author: farprt
 * @create: 2022-03-09 22:00
 **/
public class OperationSub extends Operation{
    @Override
    public double getResult() {
        double result;
        result=getNumberA()-getNumberB();
        return result;
    }
}